Skip to content

Conversation

JasonWeinzierl
Copy link
Owner

@JasonWeinzierl JasonWeinzierl commented Nov 11, 2024

Introduces a new rule that enforces defaultValue to be passed into firstValueFrom, lastValueFrom, first, and last, in order to prevent EmptyError.

Resolves upstream cartant#126

Copy link

github-actions bot commented Nov 11, 2024

LCOV of commit 9ce4f40 during .github/workflows/ci.yml #85

Summary coverage rate:
  lines......: 96.3% (3391 of 3520 lines)
  functions..: 95.0% (211 of 222 functions)
  branches...: 91.5% (659 of 720 branches)

Files changed coverage rate:
                                         |Lines       |Functions  |Branches    
  Filename                               |Rate     Num|Rate    Num|Rate     Num
  =============================================================================
  src/index.ts                           | 100%     99|    -     0|    -      0
  src/rules/no-ignored-default-value.ts  |98.0%    102| 100%    10|97.0%     33
  src/rules/no-ignored-replay-buffer.ts  | 100%     75| 100%     7| 100%     13

@JasonWeinzierl JasonWeinzierl force-pushed the no-ignored-default-value branch from bc507e6 to fce2bee Compare November 16, 2024 05:04
@JasonWeinzierl JasonWeinzierl force-pushed the no-ignored-default-value branch from fce2bee to 9ce4f40 Compare November 16, 2024 05:35
@JasonWeinzierl JasonWeinzierl merged commit 9bd896e into main Nov 16, 2024
2 checks passed
@JasonWeinzierl JasonWeinzierl deleted the no-ignored-default-value branch November 16, 2024 05:38
@JasonWeinzierl JasonWeinzierl added the enhancement New feature or request label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant